package com.hst.capacity.infra.persistence.mybatis;

import com.hst.capacity.domain.model.entity.account.FinanceCheckTmpEntity;
import io.lettuce.core.dynamic.annotation.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FinanceMapper {

    void insertCheckTmp(@Param("list") List<FinanceCheckTmpEntity> datalist);

    void deleteCheckTmp();
    void updateCheckTmp();
    void checkFinanceOK();

    void checkFinanceNG();

    void SetOrderCheckStatus();
    void SetOrderCheckStatusIc();
    void SetOrderCheckStatusEx();

    void SetOrderCheckStatusFlyPig();
    void SetOrderCheckStatusIcFlyPig();
    void SetOrderCheckStatusExFlyPig();

    void insert_user_account_statement(@Param("fileName") String fileName);
    void insert_user_account_statement_Ic(@Param("fileName") String fileName);
    void insert_user_account_statement_Ex(@Param("fileName") String fileName);

    String getOrderIdByThirdPartyOrderId(@Param("external_order_id") String external_order_id);

}
